/**
 * 活动实体类，对应于数据库tb_activity表
 */
package org.morningangel.bean;

import java.io.Serializable;
import java.util.Date;

public class Activity implements Serializable {
	private static final long serialVersionUID = 7802461166051318091L;
	// 活动id
	private Integer id;
	// 活动标题
	private String title;
	//活动简介图标
	private String mainImage;
	// 活动图标
	private String image;
	// 活动开始时间
	private Date startTime;
	// 活动结束时间
	private Date endTime;
	// 活动类型
	private String type;
	// 活动地址
	private String address;
	// 参加人数
	private Integer partipateNum;
	// 感兴趣人数
	private Integer interestNum;
	// 主办方
	private String sponsor;
	// 活动描述
	private String description;
	// 活动页面(网页部分用)
	private String url;
	// 活动状态(0,表示为发布；1,表示已发布；2,表示已举办)
	private Integer status;
	//发布活动时间
	private Date publishTime;
	
	public Activity() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMainImage() {
		return mainImage;
	}

	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Integer getPartipateNum() {
		return partipateNum;
	}

	public void setPartipateNum(Integer partipateNum) {
		this.partipateNum = partipateNum;
	}

	public Integer getInterestNum() {
		return interestNum;
	}

	public void setInterestNum(Integer interestNum) {
		this.interestNum = interestNum;
	}

	public String getSponsor() {
		return sponsor;
	}

	public void setSponsor(String sponsor) {
		this.sponsor = sponsor;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}

}
